package com.heima.crm.annotation;

import com.heima.crm.enumeration.OperationType;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface AddNotice {
    //数据库操作类型:枚举:INSERT或者UPDATE,value()可以不写key
    OperationType value();
}
